<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/login" method="post">
    用户名称：<input name="userName"><br>
    用户密码：<input name="userPwd"><br>
    <button type="submit">登 录</button>
</form>
</body>
</html>
